//
// Created by Szper on 2018/4/16.
//

#ifndef COMPILER_SOLVECENTER_H
#define COMPILER_SOLVECENTER_H

#include "Head.h"
class SolveCenter{
public:
    SolveCenter();
    ~SolveCenter();
    int isDigit(char ch);
    int isLetter(char ch);
    void preCompile(char s[], int resLength);
    void Analysis(int syn, char res[], char token[], int &resLength);
    void ClearToken(char token[]);
    int searchReserve(char resWord[][20], char s[]);
    int judgeOprator(char ch);
private:

};
#endif //COMPILER_SOLVECENTER_H
